
<template>
  <div>
    <Hello v-if="isShow"/>
      <button @click="isShow=!isShow">控制msg</button>
  </div>
</template>

<script>
import Hello from './components/Hello.vue'
export default {
  data () {
    return {
      isShow:true
    }
  },

  components: {
    Hello
  },
  methods: {}
}

</script>
<style></style>


 